package javajc;

import java.util.Scanner;

public class day04_CommandBySwitch {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int command = scan.nextInt();
        System.out.println("请选择:1.取钱 2.存钱 3.转账 4.退卡");
        switch (command){
            case 1 :
                System.out.println("取钱");
                break;
            case 2 :
                System.out.println("存钱");
                break;
            case 3:
                System.out.println("转账");
                break;
            case 4 :
                System.out.println("退卡");
                break;
            default:
                System.out.println("输入错误");
        }
    }
}
